package com.ly.system.netty.handel;

import com.alibaba.fastjson.TypeReference;
import com.ass.netty.handel.AbstractNettyHandel;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

//@Component
@Slf4j
public class CusNettyHandel extends AbstractNettyHandel<String> {




    @Getter
    private final TypeReference<String> model = new TypeReference<String>(){};


    @Override
    protected void handel(String model) {
        //写逻辑处理网关设备来的数据
        log.info("数据监听：{}",model);
    }
}



